﻿package mortal.game.view.copy.worldBoss.smallBossPanel
{
    import com.mui.controls.*;
    import mortal.game.view.common.*;
    import mortal.game.view.common.item.*;

    public class SmallBossItemRewardCellRenderer extends GCellRenderer
    {
        protected var item:BaseItem;

        public function SmallBossItemRewardCellRenderer()
        {
            return;
        }// end function

        override public function set data(param1:Object) : void
        {
            super.data = param1;
            var _loc_2:* = int(param1.data);
            if (!this.item)
            {
                this.item = UIFactory.baseItem(0, 0, 45, 45, this);
            }
            this.item.itemCode = _loc_2;
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            this.item.dispose();
            this.item = null;
            super.disposeImpl();
            return;
        }// end function

    }
}
